import httpRequest from '@/services'

export function getNetwork(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            'msg_id': '1297'
        },
    })
}


export function setNetwork(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            'msg_id': '1296'
        },
    })
}
export function setServer(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            'msg_id': '1295'
        },
    })
}
